dropkey -z not working
authoryarikoptic <yarikoptic@web>
Fri, 19 May 2023 13:53:46 +0000 (13:53 +0000)
committeradmin <admin@branchable.com>
Fri, 19 May 2023 13:53:46 +0000 (13:53 +0000)
doc/bugs/dropkey_-z_does_not_drop_etc.mdwn [new file with mode: 0644]

diff --git a/doc/bugs/dropkey_-z_does_not_drop_etc.mdwn b/doc/bugs/dropkey_-z_does_not_drop_etc.mdwn
new file mode 100644 (file)
index 0000000..24d6ede
--- /dev/null
@@ -0,0 +1,44 @@
+### Please describe the problem.
+
+```
+❯ ( source ~/git-annexes/10.20230407+git201-g5df89d58c7.env; git annex version | head -n 1; git annex findkeys --in here | git annex dropkey --force --batch -z ; )
+git-annex version: 10.20230407+git201-g5df89d58c7-1~ndall+1
+git-annex: <stdout>: commitBuffer: resource vanished (Broken pipe)
+dropkey MD5E-s5663237--4608ffbd6b78ce3a325eb338fa556589.nii.gz
+ ok
+❯ ls -ld .git/annex/objects/**/*gz/MD5E-s5663237--4608ffbd6b78ce3a325eb338fa556589.nii.gz
+-r-------- 1 yoh yoh 5663237 May 19 09:50 .git/annex/objects/V7/Pj/MD5E-s5663237--4608ffbd6b78ce3a325eb338fa556589.nii.gz/MD5E-s5663237--4608ffbd6b78ce3a325eb338fa556589.nii.gz
+❯ ( source ~/git-annexes/10.20230407+git201-g5df89d58c7.env; git annex version | head -n 1; git annex findkeys --in here | git annex dropkey --force --batch  ; )
+git-annex version: 10.20230407+git201-g5df89d58c7-1~ndall+1
+git-annex: <stdout>: commitBuffer: resource vanished (Broken pipe)
+dropkey MD5E-s5663237--4608ffbd6b78ce3a325eb338fa556589.nii.gz ok
+❯ ls -ld .git/annex/objects/**/*gz/MD5E-s5663237--4608ffbd6b78ce3a325eb338fa556589.nii.gz
+ls: cannot access '.git/annex/objects/**/*gz/MD5E-s5663237--4608ffbd6b78ce3a325eb338fa556589.nii.gz': No such file or directory
+
+```
+
+and also was reported on 10.20230407 to not return anything causing us to stall: [https://github.com/datalad/datalad/issues/7315#issuecomment-1554348911](https://github.com/datalad/datalad/issues/7315#issuecomment-1554348911).
+
+[[!meta author=yoh]]
+[[!tag projects/datalad]]
+
+
+### What steps will reproduce the problem?
+
+
+### What version of git-annex are you using? On what operating system?
+
+
+### Please provide any additional information below.
+
+[[!format sh """
+# If you can, paste a complete transcript of the problem occurring here.
+# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log
+
+
+# End of transcript or log.
+"""]]
+
+### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)
+
+